package com.aggeek.springbootlearning;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * author:liuao
 * description:
 * Date: create on 21:12 2017/10/19
 * modify by:
 */
@RestController
public class StudyController {
    @Autowired
    private GirlConf girlConf;
    @RequestMapping(method = RequestMethod.GET , value = "/hello")
    public String say(){
        return girlConf.getCupSize() ;

    }
}
